const mockserver = require("./mock/index.js");

module.exports = {
  lintOnSave: false,
  outputDir: process.env.outputDir,
  publicPath: (process.env.NODE_ENV === "production") ? "./" : "/",
  devServer: {
    before: mockserver()
  }
};